import { _decorator, Animation, AnimationClip, Color, Component, EventMouse, Graphics, HorizontalTextAlignment, instantiate, Label, Node, Prefab, resources, Sprite, UITransform, Vec3, VerticalTextAlignment } from 'cc';
import { NormalCellController } from './NormalCellController';
const { ccclass, property } = _decorator;

@ccclass('StartCellController')
export class StartCellController extends NormalCellController {
    @property({ type: Animation })
    public cellChangeAnimation: Animation | null = null;
    
    start() {

    }

    update(deltaTime: number) {

    }

    protected customClickToCell(event: EventMouse): void {

    }

    protected customCreatePrefab(item: Node, data: Object): void {
        item.getChildByName('Background').getComponent(Sprite).color = new Color(79, 111, 70, 255);
    }

    protected customLoadPrefabCell(prefabPath: string, data: object): void {
    }
}


